package com.yanqu.road.entity.estatewar.palace;

import com.yanqu.road.entity.DataObject;

public class UserPalaceData extends DataObject {
    private int activityId;
    private long userId;
    private int pos;
    private long worshipTime;
    private boolean onlyUnionMemberJoin;
    private int underAide;

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        if(this.activityId != activityId) {
            this.activityId = activityId;
            setUpdateOption();
        }
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        if(this.userId != userId) {
            this.userId = userId;
            setUpdateOption();
        }
    }

    public int getPos() {
        return pos;
    }

    public void setPos(int pos) {
        if(this.pos != pos) {
            this.pos = pos;
            setUpdateOption();
        }
    }

    public long getWorshipTime() {
        return worshipTime;
    }

    public void setWorshipTime(long worshipTime) {
        if(this.worshipTime != worshipTime) {
            this.worshipTime = worshipTime;
            setUpdateOption();
        }
    }

    public boolean isOnlyUnionMemberJoin() {
        return onlyUnionMemberJoin;
    }

    public void setOnlyUnionMemberJoin(boolean onlyUnionMemberJoin) {
        if(this.onlyUnionMemberJoin != onlyUnionMemberJoin) {
            this.onlyUnionMemberJoin = onlyUnionMemberJoin;
            setUpdateOption();
        }
    }

    public int getUnderAide() {
        return underAide;
    }

    public void setUnderAide(int underAide) {
        if(this.underAide != underAide) {
            this.underAide = underAide;
            setUpdateOption();
        }
    }
}
